/*
 * @Descripttion: 
 * @version: 
 * @Author: mmzhang
 * @Date: 2021-07-27 16:02:34
 * @LastEditTime: 2022-06-14 13:27:05
 */
import table from '@/components/dt/table/render.js'
import nameOpt from '@/biz/option/name.js'
import dateOpt from '@/biz/option/date.js'
import Opt from '@/components/dt/info/Opt.js'
import CustomerMgr from '@/biz/customer/customerOpt.js';

let _this = null

class Column extends Opt {
  constructor(vm) {
    super()
    _this = vm
    this.build()
  }

  build() {
    this.createAll()
    this.opts.push(...this.all)
  }

  createAll() {
    this.all = [
      // {
      //   title: '报告ID ',
      //   key: 'reportId',
      //   minWidth: 100,
      // },
      {
        title: '客户姓名',
        field: 'customerName',
        minWidth: 120,
        header: {
          filter: {
            title: '客户姓名',
            key: 'customerName',
            placeholder: '请输入客户姓名',
            input: {}
          }
        },
      },
      {
        title: '所属顾问',
        field: 'userName',
        minWidth: 120,
      },

      {
        title: '是否已读',
        field: 'statusName',
        minWidth: 120,


      },

      {
        title: '最近发送时间',
        field: 'createTime',
        minWidth: 180,

      },

    ]
  }

}

export default Column